<template>
    <div class="DistributeOrder">
        <h1>配送确认</h1>
        <order status="('配送中')" :btn1="toSure" name1="送达"  />
    </div>
</template>

<script>
    export default {
        props: {
        },
        methods:{
            toSure(item){
                this.$axios.put('/order/distributeOrder',{id:item.id}).then(this.$then);
            }
        }
    };
</script>
<style scoped lang="scss">
    @import "DistributeOrder";
</style>
